package com.ss.test08;

import java.sql.SQLOutput;

/**
 * @Auther: 520ljs
 * @Date: 2022/3/17 - 03 - 17 - 15:20
 */
public class Test01 {
    //这是一个main方法，是程序的入口
    public static void main(String[] args) {
        /*int a = 10;
        int b = 20;
        System.out.println(a-b);*///=0 >0 <0

        /*String a = "A";
        String b = "B";
        System.out.println(a.compareTo(b));*/

        double a = 9.6;
        double b = 9.3;
        System.out.println((int)(a-b));
        System.out.println(((Double)a).compareTo((Double) b));
    }

}
